<?php

class TestModule
{
	public function Hook()
	{
		# Add some output
		$GLOBALS['output'] .= "TestModule::Hook hooked!<br />";
	}
	public function Hook2()
	{
		# Add some more output
		$GLOBALS['output'] .= "TestModule::Hook2 hooked!<br />";
		
		# Edit some output!
		$GLOBALS['output'] = str_replace("TestModule", "[Modified_]TestModule!", $GLOBALS['output']);
	}
}

?>